<template>
  <el-dropdown>
    <ul class="navbar-right d-flex align-items-center">
      <li class="dropdown dropdown-profile">
        <a
          href="javascript:void(0)"
          data-toggle="dropdown"
          class="dropdown-toggle"
        >
          <img
            class="img-avatar img-avatar-48 m-r-10"
            src="../assets/images/avatar.png"
          />
          <span id="nickname"></span>
        </a>
      </li>
    </ul>
    <template #dropdown>
      <el-dropdown-menu>
        <el-dropdown-item>退出</el-dropdown-item>
        <el-dropdown-item>Action 2</el-dropdown-item>
        <el-dropdown-item>Action 3</el-dropdown-item>
      </el-dropdown-menu>
    </template>
  </el-dropdown>
</template>
<script>
export default {
  name: "Dropdown",
};
</script>